package com.ymatou.iapi.productmanager.compare.oldapi;

import java.util.Map;

import org.json.JSONObject;

import com.ymatou.iapi.productmanager.service.GetProductCatalogInfosCall;
import com.ymttest.utils.EnvSetup;
import com.ymttest.utils.MapUtil;

public class OldGetProductCatalogInfosTurnNewCall extends GetProductCatalogInfosCall{
	
	public OldGetProductCatalogInfosTurnNewCall() {
		super(EnvSetup.getSystemUrl("sellerproduct_iapi"));
	}
	
	
	@Override
	public JSONObject callAndReturn(Map<String, Object> paramMap) {
		int sellerId = Integer.parseInt(paramMap.get("userId").toString());
		String productId = paramMap.get("productId").toString();
		return this.callAndGetReturnData(MapUtil.hashMap("UserId", sellerId,"productId",productId,"TurnTo","java"));
	}
	
} 